package com.ymt.bpm.service.platform.websocket;

public class WsMessage {

    private String type;
    private String content;

    @Override
    public String toString() {
        return "type:"+type+"\ncontent:"+content;
    }

    public WsMessage() {
    }

    public WsMessage(String type, String responseMessage){
        this.type = type;
        this.content = responseMessage;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent(){
        return content;
    }

}
